package org.ecbox.sdk.domain;

import java.util.Date;

import org.ecbox.sdk.EopObject;
import org.ecbox.sdk.internal.mapping.ApiField;

/**
 * 货品信息传输对象
 * 
 * File: SkuTo.java<br/>
 * Description: <br/>
 * 
 * Copyright: Copyright (c) 2012 ecbox.com<br/>
 * Company: ECBOX,Inc.<br/>
 * 
 * @author chenxiaochun
 * @date Jan 4, 2014
 * @version 1.0
 */
public class Sku extends EopObject {

	private static final long serialVersionUID = 7499156722933281611L;

	@ApiField
	private Long id;

	@ApiField
	private String code;

	@ApiField
	private String name;

	@ApiField
	private String standard;

	@ApiField
	private Double currentNum;

	@ApiField
	private Double salePrice;
	
	@ApiField
	private Double discountPrice;	//如果商品有打折信息，那么这个字段才有值

	@ApiField
	private String memo;

	@ApiField
	private Date createTime;

	@ApiField
	private Date modifyTime;
	
	@ApiField
	private String picName;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStandard() {
		return standard;
	}

	public void setStandard(String standard) {
		this.standard = standard;
	}

	public Double getCurrentNum() {
		return currentNum;
	}

	public void setCurrentNum(Double currentNum) {
		this.currentNum = currentNum;
	}

	public Double getSalePrice() {
		return salePrice;
	}

	public void setSalePrice(Double salePrice) {
		this.salePrice = salePrice;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getPicName() {
		return picName;
	}

	public void setPicName(String picName) {
		this.picName = picName;
	}

	public Double getDiscountPrice() {
		return discountPrice;
	}

	public void setDiscountPrice(Double discountPrice) {
		this.discountPrice = discountPrice;
	}

}
